﻿namespace JaegerDemo.DService.Host.Models
{
    public class ValueAggregate
    {
        public Guid Id { get; set; }
        public string Value { get; private set; }
        public DateTime CreationTime { get; private set; }

        public ValueAggregate(string value)
        {
            Id = Guid.NewGuid();
            Value = value;
            CreationTime = DateTime.Now;
        }
    }
}
